#ifndef MYTHREAD_H
#define MYTHREAD_H
#include<QThread>
#include<QTimer>
class MyThread : public QThread
{
public:
    MyThread();
protected:
    void run() override;
public slots:
    void AcToDataChange(int data);
private:
    int data;
    QTimer *T;

};

#endif // MYTHREAD_H
